﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="RoomManage.aspx.cs" Inherits="SDLITS.Web.Basic.RoomManage" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="Panel6"/>
      <f:Panel ID="Panel6" Title="房间管理" ShowBorder="false" BodyPadding="0" ShowHeader="True" Layout="Fit" runat="server" AutoScroll="true">
        <Toolbars>
            <f:Toolbar runat="server">
                <Items>
                    <f:Button runat="server" ID="btnNew" Text="新增" Icon="Add"></f:Button>
                    <f:ToolbarSeparator runat="server"></f:ToolbarSeparator>
                    <f:TwinTriggerBox ID="ttbxMyBox2" ShowLabel="false" OnTrigger1Click="ttbxMyBox2_Trigger1Click"
                        OnTrigger2Click="ttbxMyBox2_Trigger2Click" Trigger1Icon="Clear" ShowTrigger1="False"
                        EmptyText="输入搜索关键字" Trigger2Icon="Search" runat="server" Width="180px">
                    </f:TwinTriggerBox>
                </Items>
            </f:Toolbar>
        </Toolbars>
        <Items>
        <f:Grid ID="Grid1" ShowBorder="false" PageSize="12" AllowPaging="true" EnableCheckBoxSelect="true" IsDatabasePaging="true"
            OnPageIndexChange="Grid1_PageIndexChange" OnRowCommand="Grid1_RowCommand" EnableColumnLines="true" OnRowDataBound="Grid1_RowDataBound"
             EnableHeaderMenu="false" ShowHeader="false" Title="表格" runat="server" EnableCollapse="false" DataKeyNames="RoomID">
            <Columns>
                <f:RowNumberField EnablePagingNumber="true" Width="60px" TextAlign="Center" />
                <f:BoundField Width="80px" DataField="RoomName" HeaderText="房间名" TextAlign="Center"/>
                <f:BoundField Width="80px" DataField="RoomNo" HeaderText="房间号" />
                <f:BoundField Width="80px" DataField="StatusID" HeaderText="状态" TextAlign="Center"/>
                <f:BoundField Width="100px" DataField="CompanyName" HeaderText="入驻公司" TextAlign="Center"/>
                <f:BoundField Width="80px" DataField="ScreenNo" HeaderText="屏号" TextAlign="Center"/>
                <f:BoundField Width="120px" DataField="LedIP" HeaderText="IP地址" TextAlign="Center"/>
                <f:BoundField Width="80px" DataField="SqMeters" HeaderText="面积" TextAlign="Center"/>
                <f:BoundField Width="80px" DataField="RentalPrice" HeaderText="房租" TextAlign="Center"/>
                <f:WindowField ColumnID="myWindowField" Width="80px" WindowID="Window1" Text="修改" HeaderText="修改"
                    DataTextFormatString="{0}" DataIFrameUrlFields="RoomID" DataIFrameUrlFormatString="RoomChange.aspx?id={0}"
                    DataWindowTitleField="RoomName" DataWindowTitleFormatString="修改 - {0}" Icon="BulletEdit" TextAlign="Center"/>
                <f:LinkButtonField ConfirmText="您确定要删除该条记录吗？" ConfirmTarget="Top" ColumnID="LocationId"
                    Width="80px" CommandName="Del" Text="删除" Icon="BulletDelete" HeaderText="删除" TextAlign="Center"/>
            </Columns>
        </f:Grid>
        </Items>
       </f:Panel>
       <f:Window ID="Window1" Title="编辑" Hidden="true" EnableIFrame="true" runat="server"
         IFrameUrl ="about:blank" IsModal="True" Width="415px" Height="440px">
       </f:Window>
    </form>
</body>
</html>
